php rtrim comma

100

php rtrim comma -

rtrim($my_string, ',');

php remove last character from string if comma -

$string = rtrim($string, ',');

Comments

Submit
0 Comments